#-------------------------------------------------
#
# Project created by QtCreator 2010-07-09T07:40:49
#
#-------------------------------------------------

QT       += core gui

TARGET = avcodec_to_widget_5
TEMPLATE = app


SOURCES += main.cpp \
    widget.cpp \
    t_pcm_audio_device.cpp \
    my_SDL_compat.c

HEADERS  += \
    widget.h \
    t_pcm_audio_device.h \
    my_SDL_compat.h

FORMS    += \
    widget.ui

#[Debug Release Build]
QMAKE_CFLAGS_RELEASE = -g
QMAKE_CXXFLAGS_RELEASE = -g
QMAKE_LFLAGS_RELEASE =

#[DirectX]
####QMAKE_INCDIR += directx_include
INCLUDEPATH += directx_include
LIBS += -ldsound

#[SDL-1.2.14]
#INCLUDEPATH += E:\Qt\SDL-1.2.14-bin\include
#QMAKE_LFLAGS += -LE:\Qt\SDL-1.2.14-bin\lib
#LIBS += -lSDL -lm -luser32 -lgdi32 -lwinmm -ldxguid

#[SDL-1.3.0-4526]
INCLUDEPATH += E:\Qt\SDL-1.3.0-4526-bin\include
QMAKE_LFLAGS += -LE:\Qt\SDL-1.3.0-4526-bin\lib
LIBS += -lSDL -lm -luser32 -lgdi32 -lwinmm -ldxguid -lmsimg32

#[ffmpeg]
INCLUDEPATH += E:\Qt\ffmpeg-r23711-bin\include
QMAKE_LFLAGS += -LE:\Qt\ffmpeg-r23711-bin\lib
LIBS += -lavcodec -lavdevice -lavfilter -lavformat -lavutil -lswscale -lavcodec
LIBS += -lws2_32 -lvfw32
